Depending on where this data was obtained, the correct folder structure may or may not be intact. To most easily replicate the findings and generate all of the tables and figures used in this paper, we recommend the following folder structure. Create five folders side by side called 'code', 'data', 'figures', 'tables' and 'functions' (all lower case and as spelt here). 'data' should contain two or three .csv files used by the two .R files with analysis in their name. These two files belong in the 'code' folder. Other .R files are stand-alone functions and should be placed in the ‘functions’ folder. ‘tables’ and ‘figures’ should be blanks to start.

To replicate the analyses, first identify the location of the folder containing these five folders. Copy this file directory and insert it where indicated in the two .R files in the 'code' folder (approximately line 10—look for the ‘setwd’ command). The .R files should then run without complication and the 'tables' and 'figures' folders will be populated.